<ion-header>
  <ion-toolbar color="customblue">
    <ion-buttons slot="start">
      <ion-back-button class="back-icon" text="" defaultHref="/"></ion-back-button>
    </ion-buttons>
    <ion-title>修改密码</ion-title>
  </ion-toolbar>
</ion-header>

<ion-content>
  <div class="changepwd-bgc">
    <div *ngIf="isShowpwd">
      <ion-list class="apply-list">
        <ion-item lines="none">
          <ion-label>原登录密码</ion-label>
          <ion-input class="input-video" type="password" placeholder="请输入您的登录密码" [(ngModel)]="oldpwd"></ion-input>
        </ion-item>
      </ion-list>
      <ion-button expand="block" class="online-btn" (click)="affirmpwd()">下一步</ion-button>
    </div>
    <div *ngIf="!isShowpwd">
      <ion-list class="apply-list">
        <ion-item lines="none">
          <ion-label>新登录密码</ion-label>
          <ion-input class="input-video" type="password" placeholder="请输入您的登录密码" [(ngModel)]="newpwd1"></ion-input>
        </ion-item>
        <ion-item lines="none">
          <ion-label>确认新登录密码</ion-label>
          <ion-input class="input-video" type="password" placeholder="请输入您的登录密码" [(ngModel)]="newpwd2"></ion-input>
        </ion-item>
      </ion-list>
      <ion-button expand="block" class="online-btn" (click)="goforgetpwd()">下一步</ion-button>
    </div>
  </div>
</ion-content>
